/*
    编写程序，实现问题求解——键盘输入三个边长：a、b、c，判断a、b、
        c 这三个边长能否构成一个三角形，若不能则输出相应的信息，若能则
        判断组成的三角形类型是等腰、等边、直角，或一般三角形。
*/
#include <iostream>
#include <cmath>
#include <windows.h>
using namespace std;

int main()
{
    // 设置控制台代码页为UTF-8
    SetConsoleOutputCP(CP_UTF8);

    float a, b, c;
    cin >> a >> b >> c;
    float min_edge, mid_edge, max_edge;
    min_edge = min(a, min(b, c));
    max_edge = max(a, max(b, c));
    mid_edge = (a + b + c) - min_edge - max_edge;

    if ((min_edge + mid_edge <= max_edge) || (max_edge - min_edge >= mid_edge))
    {
        cout << "不能构成三角形" << endl;
        return 0;
    }
    if ((max_edge == mid_edge) || (mid_edge == min_edge))
    {
        cout << "等腰三角形" << endl;
        return 0;
    }
    if (a == b == c)
    {
        cout << "等边三角形" << endl;
        return 0;
    }
    if (min_edge * min_edge + min_edge * mid_edge == max_edge * max_edge)
    {
        cout << "直角三角形" << endl;
        return 0;
    }
    cout << "一般三角形" << endl;
    return 0;
}